package java01;

public class homework08 {
	public static void main(String[] argc){
		double money=0;
		for (int day=0;;day++){
			if(day%5==0){
				money=money-6;
			}else if(money>=100){
				System.out.println(day);
				System.out.println(money);
				break;
			}else {
				money=money+2.5;
			}
		}
	}
}
